﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="ClientRegistration" CodeBehind="ClientRegistration.aspx.cs" %>

<%@ Register Assembly="AjaxControlLib" Namespace="AjaxControlLib" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Client Meeting Tool - Client Registration </title>
    <link type="text/css" href="nac.css" rel="stylesheet" />
    <style type="text/css">
        body
        {
            font-family: Arial, Helvetica, sans-serif;
            font-size: 9pt;
        }
        
        .Button
        {
            background-color: #1e8ce1;
            border: #0d5b97 1px solid;
            color: #FFFFFF;
            font-family: Arial, Helvetica, sans-serif;
            font-size: 9pt;
            padding: 3px;
        }
        
        
        .subHead
        {
            font-weight: bold;
            text-decoration: underline;
        }
        
        .overlay
        {
            position: absolute;
            background-color: white;
            top: auto;
            left: auto;
            width: 100%;
            height: 100%;
            opacity: 0.8;
            -moz-opacity: 0.8;
            filter: alpha(opacity=60);
            -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
            z-index: 10000;
            text-align: center;
            padding-top: 25%;
        }
        
        .style1
        {
            width: 100%;
        }
    </style>
    <script src="Scripts/jquery-1.9.1.js" type="text/javascript"></script>
    <link href="CSS/jquery-ui-1.10.3.custom.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/jquery-ui-1.10.3.custom.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $('.mydatepickerclass').datepicker({ showOn: "button",
                buttonImage: "_includes/images/ico_calbtn.gif",
                dateFormat: 'MM dd, yy',
                buttonImageOnly: true, onSelect: function () { }
            });
            Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
            $('.mydatepickerclass').attr("disabled", "disabled");

            function EndRequestHandler(sender, args) {
                $('.mydatepickerclass').datepicker({ showOn: "button",
                    buttonImage: "_includes/images/ico_calbtn.gif",
                    dateFormat: 'MM dd, yy',
                    buttonImageOnly: true, onSelect: function () { }
                });
                $('.mydatepickerclass').attr("disabled", "disabled");
            }

        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="scmClientRegistration" runat="server">
        </asp:ScriptManager>
        <asp:UpdateProgress ID="uprgProgressBar" runat="server" DynamicLayout="true">
            <ProgressTemplate>
                <div class="overlay">
                    <img src="_includes/images/prog.gif" alt="Loading" />
                    Loading...
                </div>
            </ProgressTemplate>
        </asp:UpdateProgress>
        <%--<cc1:Banner ID="bnrMeetingCreation" runat="server" Width="100%" />--%>
        <asp:UpdatePanel ID="upnlRegistration" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
                <table id="tblBody" cellpadding="0" cellspacing="0" width="100%" height="100%">
                    <tr style="border-color: white;">
                        <td style="text-align: left;" colspan="5" valign="middle" align="center">
                            <asp:Label ID="lblRegistrationMessage" Font-Bold="true" runat="server" Visible="False"></asp:Label>
                            <asp:ValidationSummary ID="ValidationSummary1" runat="server" ValidationGroup="Register" />
                        </td>
                    </tr>
                    <tr>
                        <td class="GroupHeader" style="height: 18px; text-align: left;" colspan="5" valign="middle">
                            Client Registration
                        </td>
                    </tr>
                    <tr style="padding-top: 5px; padding-left: 5px;">
                        <td style="width: 20%;" valign="top">
                            <asp:Label ID="lblClient" runat="server" Text="Client"></asp:Label>
                        </td>
                        <td style="width: 20%;" valign="top">
                            <asp:DropDownList ID="ddlClient" runat="server" DataValueField="EventAttendeeID"
                                DataTextField="Name" AutoPostBack="True" OnSelectedIndexChanged="ddlClient_SelectedIndexChanged"
                                Width="240">
                            </asp:DropDownList>
                            <asp:RequiredFieldValidator ID="rfClient" runat="server" ControlToValidate="ddlClient"
                                ErrorMessage="select a client" InitialValue="0" ValidationGroup="Register">*</asp:RequiredFieldValidator>
                        </td>
                        <td style="width: 15%;" valign="top">
                            <asp:LinkButton ID="btnExportExcel" runat="server" ToolTip="Export All Records To Excel"
                                OnClick="btnExportExcel_Click" Style="cursor: pointer;" ValidationGroup="Export"
                                Visible="false">Export All Records To Excel</asp:LinkButton>
                        </td>
                        <td style="width: 20%;" valign="top">
                        </td>
                    </tr>
                    <tr style="padding-top: 5px; padding-left: 5px;">
                        <td style="width: 15%;" valign="top">
                            <asp:Label ID="lblDesignation2" runat="server" Text="Company/Office"></asp:Label>
                        </td>
                        <td style="width: 20%;" valign="top">
                            <asp:TextBox ID="txtOrganisation" runat="server" MaxLength="80" Width="235" Enabled="False"
                                ReadOnly="True"></asp:TextBox>
                        </td>
                        <td style="width: 15%;">
                            <asp:Label ID="lblClientPart" runat="server" Text="Client Participation Confirmation"></asp:Label>
                        </td>
                        <td style="width: 20%;">
                            <asp:RadioButtonList ID="rblPartcipateConfirm" runat="server" Visible="True" RepeatDirection="Horizontal"
                                AutoPostBack="false">
                                <asp:ListItem Value="1" Selected="True">Yes</asp:ListItem>
                                <asp:ListItem Value="0">No</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr style="padding-top: 5px; padding-left: 5px;">
                        <td valign="top">
                            <asp:Label ID="lblPhone" runat="server" Text="Phone"></asp:Label>
                        </td>
                        <td valign="top">
                            <asp:TextBox ID="txtMobile" runat="server" MaxLength="200" Width="235px"></asp:TextBox>
                        </td>
                        <td valign="top">
                            <asp:Label ID="lblCountry" runat="server" Text="Country"></asp:Label>
                        </td>
                        <td valign="top">
                            <asp:DropDownList ID="ddlCountry" runat="server" DataValueField="COUNTRY" DataTextField="Description"
                                Width="240">
                            </asp:DropDownList>
                        </td>
                        <td valign="top">
                        </td>
                    </tr>
                    <tr style="padding-top: 5px; padding-left: 5px;">
                        <td valign="top">
                            <asp:Label ID="lblEmail" runat="server" Text="Email"></asp:Label>
                        </td>
                        <td valign="top">
                            <asp:TextBox ID="txtEmail" runat="server" MaxLength="200" Width="235px"></asp:TextBox>
                        </td>
                        <td valign="top">
                            <asp:Label ID="lblIndustry" runat="server" Text="Industry"></asp:Label>
                        </td>
                        <td valign="top">
                            <asp:TextBox ID="txtIndustry" runat="server" MaxLength="200" Width="235px"></asp:TextBox>
                        </td>
                        <td valign="top">
                        </td>
                    </tr>
                    <tr style="padding-top: 5px; padding-left: 5px;">
                        <td valign="top">
                            <asp:Label ID="lblPreference" runat="server" Text="Any Preferences"></asp:Label>
                        </td>
                        <td valign="top">
                            <asp:TextBox ID="txtPreference" runat="server" TextMode="MultiLine" Width="235px"
                                Height="32px" onkeypress="return truncMaxLength(this,'1500');"></asp:TextBox>
                        </td>
                        <td valign="top">
                            <asp:Label ID="lblDesignation" runat="server" Text="Designation"></asp:Label>
                        </td>
                        <td valign="top">
                            <asp:TextBox ID="txtDesignation" runat="server" MaxLength="80" Width="235"></asp:TextBox>
                        </td>
                        <td valign="top">
                        </td>
                    </tr>
                    <tr style="padding-top: 5px; padding-left: 5px;">
                        <td valign="top">
                            <asp:Label ID="lblName" runat="server" Text="Name" Visible="False"></asp:Label>
                        </td>
                        <td valign="top">
                            <asp:TextBox ID="txtName" runat="server" MaxLength="80" Width="235" Visible="False"></asp:TextBox>
                        </td>
                        <td valign="top">
                        </td>
                        <td valign="top">
                        </td>
                        <td valign="top">
                        </td>
                    </tr>
                    <tr style="padding-left: 5px;">
                        <td valign="middle" colspan="5" style="height: 5px; text-align: left;">
                        </td>
                    </tr>
                    <tr style="padding-left: 5px;">
                        <td class="GroupHeader" colspan="5" style="height: 18px; text-align: left;" valign="middle">
                            Meeting Details
                        </td>
                    </tr>
                    <tr style="padding-top: 5px; padding-left: 5px;">
                        <td valign="top">
                            <asp:Label ID="lblDesignation0" runat="server" Text="Approximate Time Required"></asp:Label>
                        </td>
                        <td valign="top">
                            <asp:TextBox ID="txtxApprTimeReq" runat="server" MaxLength="200" Width="235px"></asp:TextBox>
                        </td>
                        <td valign="top">
                            <asp:Label ID="lblDesignation1" runat="server" Text="Type of Meeting "></asp:Label>
                        </td>
                        <td valign="top">
                            <asp:DropDownList ID="ddlMeetingType" runat="server" DataValueField="MeetingTypeID"
                                DataTextField="MeetingType" Width="240">
                            </asp:DropDownList>
                        </td>
                        <td valign="top">
                        </td>
                    </tr>
                    <tr style="padding-top: 5px; padding-left: 5px;">
                        <td valign="top" class="subHead">
                            Meeting Time Slots
                        </td>
                        <td valign="top">
                        </td>
                        <td valign="top">
                        </td>
                        <td valign="top">
                        </td>
                        <td valign="top">
                        </td>
                    </tr>
                    <tr style="padding-top: 5px; padding-left: 5px;">
                        <td valign="top">
                            <asp:Label ID="lblMeetingStartTime" runat="server" Text="Meeting Start Date and Time 1"></asp:Label>
                        </td>
                        <td valign="top">
                            <table cellpadding="0" cellspacing="0">
                                <tr>
                                    <td>
                                        <asp:TextBox ID="txtTimeSlot1StartDate" runat="server" CssClass="mydatepickerclass"></asp:TextBox>
                                    </td>
                                    <td style="padding-left: 3px;">
                                        <asp:DropDownList ID="ddlMeetingStartTimeHrsTimeSlot1" runat="server">
                                            <asp:ListItem>00</asp:ListItem>
                                            <asp:ListItem>01</asp:ListItem>
                                            <asp:ListItem>02</asp:ListItem>
                                            <asp:ListItem>03</asp:ListItem>
                                            <asp:ListItem>04</asp:ListItem>
                                            <asp:ListItem>05</asp:ListItem>
                                            <asp:ListItem>06</asp:ListItem>
                                            <asp:ListItem>07</asp:ListItem>
                                            <asp:ListItem>08</asp:ListItem>
                                            <asp:ListItem>09</asp:ListItem>
                                            <asp:ListItem>10</asp:ListItem>
                                            <asp:ListItem>11</asp:ListItem>
                                            <asp:ListItem>12</asp:ListItem>
                                            <asp:ListItem>13</asp:ListItem>
                                            <asp:ListItem>14</asp:ListItem>
                                            <asp:ListItem>15</asp:ListItem>
                                            <asp:ListItem>16</asp:ListItem>
                                            <asp:ListItem>17</asp:ListItem>
                                            <asp:ListItem>18</asp:ListItem>
                                            <asp:ListItem>19</asp:ListItem>
                                            <asp:ListItem>20</asp:ListItem>
                                            <asp:ListItem>21</asp:ListItem>
                                            <asp:ListItem>22</asp:ListItem>
                                            <asp:ListItem>23</asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                    <td style="padding-left: 3px;">
                                        <asp:DropDownList ID="ddlMeetingStartTimeMnsTimeSlot1" runat="server">
                                            <asp:ListItem>00</asp:ListItem>
                                            <asp:ListItem>15</asp:ListItem>
                                            <asp:ListItem>30</asp:ListItem>
                                            <asp:ListItem>45</asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td valign="top">
                            <asp:Label ID="lblMeetingEndTimeTimeSlot1" runat="server" Text="End Date and Time"></asp:Label>
                        </td>
                        <td valign="top">
                            <table cellpadding="0" cellspacing="0">
                                <tr>
                                    <td>
                                        <asp:TextBox ID="txtTimeSlot1EndDate" runat="server" CssClass="mydatepickerclass"></asp:TextBox>
                                        <asp:CustomValidator ID="custStartEndDate1" runat="server" ControlToValidate="txtTimeSlot1EndDate"
                                            Display="Dynamic" ValidationGroup="Register" Text="*" ErrorMessage="Meeting Start Date 1 is later than Meeting End Date 1."></asp:CustomValidator>
                                        <%-- <asp:CustomValidator ID="custFutureEndDate" runat="server" ControlToValidate="txtTimeSlot1EndDate"
                                                                        Display="Dynamic" ValidationGroup="eventsave" Text="*" ErrorMessage="Event End Date should be a future date and not past date."></asp:CustomValidator>--%>
                                    </td>
                                    <td style="padding-left: 3px;">
                                        <asp:DropDownList ID="ddlMeetingEndTimeHrsTimeslot1" runat="server">
                                            <asp:ListItem>00</asp:ListItem>
                                            <asp:ListItem>01</asp:ListItem>
                                            <asp:ListItem>02</asp:ListItem>
                                            <asp:ListItem>03</asp:ListItem>
                                            <asp:ListItem>04</asp:ListItem>
                                            <asp:ListItem>05</asp:ListItem>
                                            <asp:ListItem>06</asp:ListItem>
                                            <asp:ListItem>07</asp:ListItem>
                                            <asp:ListItem>08</asp:ListItem>
                                            <asp:ListItem>09</asp:ListItem>
                                            <asp:ListItem>10</asp:ListItem>
                                            <asp:ListItem>11</asp:ListItem>
                                            <asp:ListItem>12</asp:ListItem>
                                            <asp:ListItem>13</asp:ListItem>
                                            <asp:ListItem>14</asp:ListItem>
                                            <asp:ListItem>15</asp:ListItem>
                                            <asp:ListItem>16</asp:ListItem>
                                            <asp:ListItem>17</asp:ListItem>
                                            <asp:ListItem>18</asp:ListItem>
                                            <asp:ListItem>19</asp:ListItem>
                                            <asp:ListItem>20</asp:ListItem>
                                            <asp:ListItem>21</asp:ListItem>
                                            <asp:ListItem>22</asp:ListItem>
                                            <asp:ListItem>23</asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                    <td style="padding-left: 3px;">
                                        <asp:DropDownList ID="ddlMeetingEndTimeMnsTimeSlot1" runat="server">
                                            <asp:ListItem>00</asp:ListItem>
                                            <asp:ListItem>15</asp:ListItem>
                                            <asp:ListItem>30</asp:ListItem>
                                            <asp:ListItem>45</asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td valign="top">
                        </td>
                    </tr>
                    <tr style="padding-top: 5px; padding-left: 5px;">
                        <td valign="top">
                            <asp:Label ID="lblMeetingStartTime2" runat="server" Text="Meeting Start Date and Time 2"></asp:Label>
                        </td>
                        <td valign="top">
                            <table cellpadding="0" cellspacing="0">
                                <tr>
                                    <td>
                                        <asp:TextBox ID="txtTimeSlot2StartDate" runat="server" CssClass="mydatepickerclass"></asp:TextBox>
                                    </td>
                                    <td style="padding-left: 3px;">
                                        <asp:DropDownList ID="ddlMeetingStartTimeHrsTimeslot2" runat="server">
                                            <asp:ListItem>00</asp:ListItem>
                                            <asp:ListItem>01</asp:ListItem>
                                            <asp:ListItem>02</asp:ListItem>
                                            <asp:ListItem>03</asp:ListItem>
                                            <asp:ListItem>04</asp:ListItem>
                                            <asp:ListItem>05</asp:ListItem>
                                            <asp:ListItem>06</asp:ListItem>
                                            <asp:ListItem>07</asp:ListItem>
                                            <asp:ListItem>08</asp:ListItem>
                                            <asp:ListItem>09</asp:ListItem>
                                            <asp:ListItem>10</asp:ListItem>
                                            <asp:ListItem>11</asp:ListItem>
                                            <asp:ListItem>12</asp:ListItem>
                                            <asp:ListItem>13</asp:ListItem>
                                            <asp:ListItem>14</asp:ListItem>
                                            <asp:ListItem>15</asp:ListItem>
                                            <asp:ListItem>16</asp:ListItem>
                                            <asp:ListItem>17</asp:ListItem>
                                            <asp:ListItem>18</asp:ListItem>
                                            <asp:ListItem>19</asp:ListItem>
                                            <asp:ListItem>20</asp:ListItem>
                                            <asp:ListItem>21</asp:ListItem>
                                            <asp:ListItem>22</asp:ListItem>
                                            <asp:ListItem>23</asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                    <td style="padding-left: 3px;">
                                        <asp:DropDownList ID="ddlMeetingStartTimeMnsTimeslot2" runat="server">
                                            <asp:ListItem>00</asp:ListItem>
                                            <asp:ListItem>15</asp:ListItem>
                                            <asp:ListItem>30</asp:ListItem>
                                            <asp:ListItem>45</asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td valign="top">
                            <asp:Label ID="lblMeetingEndTimeTimeslot2" runat="server" Text="End Date and Time"></asp:Label>
                        </td>
                        <td valign="top">
                            <table cellpadding="0" cellspacing="0">
                                <tr>
                                    <td>
                                        <asp:TextBox ID="txtTimeSlot2EndDate" runat="server" CssClass="mydatepickerclass"></asp:TextBox>
                                        <asp:CustomValidator ID="custStartEndDate2" runat="server" ControlToValidate="txtTimeSlot2EndDate"
                                            Display="Dynamic" ValidationGroup="Register" Text="*" ErrorMessage="Meeting Start Date 2 is later  than Meeting End Date 2."></asp:CustomValidator>
                                    </td>
                                    <td style="padding-left: 3px;">
                                        <asp:DropDownList ID="ddlMeetingEndTimeHrsTimeSlot2" runat="server">
                                            <asp:ListItem>00</asp:ListItem>
                                            <asp:ListItem>01</asp:ListItem>
                                            <asp:ListItem>02</asp:ListItem>
                                            <asp:ListItem>03</asp:ListItem>
                                            <asp:ListItem>04</asp:ListItem>
                                            <asp:ListItem>05</asp:ListItem>
                                            <asp:ListItem>06</asp:ListItem>
                                            <asp:ListItem>07</asp:ListItem>
                                            <asp:ListItem>08</asp:ListItem>
                                            <asp:ListItem>09</asp:ListItem>
                                            <asp:ListItem>10</asp:ListItem>
                                            <asp:ListItem>11</asp:ListItem>
                                            <asp:ListItem>12</asp:ListItem>
                                            <asp:ListItem>13</asp:ListItem>
                                            <asp:ListItem>14</asp:ListItem>
                                            <asp:ListItem>15</asp:ListItem>
                                            <asp:ListItem>16</asp:ListItem>
                                            <asp:ListItem>17</asp:ListItem>
                                            <asp:ListItem>18</asp:ListItem>
                                            <asp:ListItem>19</asp:ListItem>
                                            <asp:ListItem>20</asp:ListItem>
                                            <asp:ListItem>21</asp:ListItem>
                                            <asp:ListItem>22</asp:ListItem>
                                            <asp:ListItem>23</asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                    <td style="padding-left: 3px;">
                                        <asp:DropDownList ID="ddlMeetingEndTimeMnsTimeslot2" runat="server">
                                            <asp:ListItem>00</asp:ListItem>
                                            <asp:ListItem>15</asp:ListItem>
                                            <asp:ListItem>30</asp:ListItem>
                                            <asp:ListItem>45</asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr style="padding-top: 5px; padding-left: 5px;">
                        <td valign="top">
                            <asp:Label ID="lblMeetingStartTime3" runat="server" Text="Meeting Start Date and Time 3"></asp:Label>
                        </td>
                        <td valign="top">
                            <table cellpadding="0" cellspacing="0">
                                <tr>
                                    <td>
                                        <asp:TextBox ID="txtTimeSlot3StartDate" runat="server" CssClass="mydatepickerclass"></asp:TextBox>
                                    </td>
                                    <td style="padding-left: 3px;">
                                        <asp:DropDownList ID="ddlMeetingStartTimeHrsTimeslot3" runat="server">
                                            <asp:ListItem>00</asp:ListItem>
                                            <asp:ListItem>01</asp:ListItem>
                                            <asp:ListItem>02</asp:ListItem>
                                            <asp:ListItem>03</asp:ListItem>
                                            <asp:ListItem>04</asp:ListItem>
                                            <asp:ListItem>05</asp:ListItem>
                                            <asp:ListItem>06</asp:ListItem>
                                            <asp:ListItem>07</asp:ListItem>
                                            <asp:ListItem>08</asp:ListItem>
                                            <asp:ListItem>09</asp:ListItem>
                                            <asp:ListItem>10</asp:ListItem>
                                            <asp:ListItem>11</asp:ListItem>
                                            <asp:ListItem>12</asp:ListItem>
                                            <asp:ListItem>13</asp:ListItem>
                                            <asp:ListItem>14</asp:ListItem>
                                            <asp:ListItem>15</asp:ListItem>
                                            <asp:ListItem>16</asp:ListItem>
                                            <asp:ListItem>17</asp:ListItem>
                                            <asp:ListItem>18</asp:ListItem>
                                            <asp:ListItem>19</asp:ListItem>
                                            <asp:ListItem>20</asp:ListItem>
                                            <asp:ListItem>21</asp:ListItem>
                                            <asp:ListItem>22</asp:ListItem>
                                            <asp:ListItem>23</asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                    <td style="padding-left: 3px;">
                                        <asp:DropDownList ID="ddlMeetingStartTimeMnsTimeslot3" runat="server">
                                            <asp:ListItem>00</asp:ListItem>
                                            <asp:ListItem>15</asp:ListItem>
                                            <asp:ListItem>30</asp:ListItem>
                                            <asp:ListItem>45</asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td valign="top">
                            <asp:Label ID="lblMeetingEndTimeTimeslot3" runat="server" Text="End Date and Time"></asp:Label>
                        </td>
                        <td valign="top">
                            <table cellpadding="0" cellspacing="0">
                                <tr>
                                    <td>
                                        <asp:TextBox ID="txtTimeSlot3EndDate" runat="server" CssClass="mydatepickerclass"></asp:TextBox>
                                        <asp:CustomValidator ID="custStartEndDate3" runat="server" ControlToValidate="txtTimeSlot3EndDate"
                                            Display="Dynamic" ValidationGroup="Register" Text="*" ErrorMessage="Meeting Start Date 3 is later  than Meeting End Date 3."></asp:CustomValidator>
                                    </td>
                                    <td style="padding-left: 3px;">
                                        <asp:DropDownList ID="ddlMeetingEndTimeHrsTimeSlot3" runat="server">
                                            <asp:ListItem>00</asp:ListItem>
                                            <asp:ListItem>01</asp:ListItem>
                                            <asp:ListItem>02</asp:ListItem>
                                            <asp:ListItem>03</asp:ListItem>
                                            <asp:ListItem>04</asp:ListItem>
                                            <asp:ListItem>05</asp:ListItem>
                                            <asp:ListItem>06</asp:ListItem>
                                            <asp:ListItem>07</asp:ListItem>
                                            <asp:ListItem>08</asp:ListItem>
                                            <asp:ListItem>09</asp:ListItem>
                                            <asp:ListItem>10</asp:ListItem>
                                            <asp:ListItem>11</asp:ListItem>
                                            <asp:ListItem>12</asp:ListItem>
                                            <asp:ListItem>13</asp:ListItem>
                                            <asp:ListItem>14</asp:ListItem>
                                            <asp:ListItem>15</asp:ListItem>
                                            <asp:ListItem>16</asp:ListItem>
                                            <asp:ListItem>17</asp:ListItem>
                                            <asp:ListItem>18</asp:ListItem>
                                            <asp:ListItem>19</asp:ListItem>
                                            <asp:ListItem>20</asp:ListItem>
                                            <asp:ListItem>21</asp:ListItem>
                                            <asp:ListItem>22</asp:ListItem>
                                            <asp:ListItem>23</asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                    <td style="padding-left: 3px;">
                                        <asp:DropDownList ID="ddlMeetingEndTimeMnsTimeslot3" runat="server">
                                            <asp:ListItem>00</asp:ListItem>
                                            <asp:ListItem>15</asp:ListItem>
                                            <asp:ListItem>30</asp:ListItem>
                                            <asp:ListItem>45</asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr style="padding-top: 5px; padding-left: 5px;">
                        <td>
                            <asp:Label ID="lblTimeslot4" runat="server" Text="Client interested in private meetings ?"></asp:Label>
                        </td>
                        <td>
                            <asp:RadioButtonList ID="rblPrivateMeeting" runat="server" RepeatDirection="Horizontal"
                                AutoPostBack="True" OnSelectedIndexChanged="rblPrivateMeeting_SelectedIndexChanged">
                                <asp:ListItem Value="1">Yes</asp:ListItem>
                                <asp:ListItem Value="0" Selected="True">No</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                        <td valign="top">
                        </td>
                        <td valign="top">
                        </td>
                    </tr>
                    <tr>
                        <td valign="top" colspan="4">
                            <table class="style1" visible="false" id="tabPrivateMeeting" runat="server">
                                <tr>
                                    <td style="width: 27%;">
                                        <asp:Label ID="lblCountry0" runat="server" Text="Country"></asp:Label>
                                    </td>
                                    <td style="width: 26%;">
                                        <asp:DropDownList ID="ddlPrivateCountry" runat="server" DataValueField="COUNTRY"
                                            DataTextField="Description" Width="240">
                                        </asp:DropDownList>
                                    </td>
                                    <td style="width: 20%;">
                                        <asp:Label ID="lblMeetingStartTime4" runat="server" Text="Meeting Time"></asp:Label>
                                    </td>
                                    <td>
                                        <table cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td>
                                                    <asp:TextBox ID="txtPrivateMeetingDate" runat="server" CssClass="mydatepickerclass"></asp:TextBox>
                                                </td>
                                                <td style="padding-left: 3px;">
                                                    <asp:DropDownList ID="ddlPrivateMeetingHrs" runat="server">
                                                        <asp:ListItem>00</asp:ListItem>
                                                        <asp:ListItem>01</asp:ListItem>
                                                        <asp:ListItem>02</asp:ListItem>
                                                        <asp:ListItem>03</asp:ListItem>
                                                        <asp:ListItem>04</asp:ListItem>
                                                        <asp:ListItem>05</asp:ListItem>
                                                        <asp:ListItem>06</asp:ListItem>
                                                        <asp:ListItem>07</asp:ListItem>
                                                        <asp:ListItem>08</asp:ListItem>
                                                        <asp:ListItem>09</asp:ListItem>
                                                        <asp:ListItem>10</asp:ListItem>
                                                        <asp:ListItem>11</asp:ListItem>
                                                        <asp:ListItem>12</asp:ListItem>
                                                        <asp:ListItem>13</asp:ListItem>
                                                        <asp:ListItem>14</asp:ListItem>
                                                        <asp:ListItem>15</asp:ListItem>
                                                        <asp:ListItem>16</asp:ListItem>
                                                        <asp:ListItem>17</asp:ListItem>
                                                        <asp:ListItem>18</asp:ListItem>
                                                        <asp:ListItem>19</asp:ListItem>
                                                        <asp:ListItem>20</asp:ListItem>
                                                        <asp:ListItem>21</asp:ListItem>
                                                        <asp:ListItem>22</asp:ListItem>
                                                        <asp:ListItem>23</asp:ListItem>
                                                    </asp:DropDownList>
                                                </td>
                                                <td style="padding-left: 3px;">
                                                    <asp:DropDownList ID="ddlPrivateMeetingMins" runat="server">
                                                        <asp:ListItem>00</asp:ListItem>
                                                        <asp:ListItem>15</asp:ListItem>
                                                        <asp:ListItem>30</asp:ListItem>
                                                        <asp:ListItem>45</asp:ListItem>
                                                    </asp:DropDownList>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <tr style="padding-top: 5px; padding-left: 5px;">
                        <td valign="top">
                            <asp:Label ID="lblCountry3" runat="server" Text="Meeting Setup Requirements"></asp:Label>
                        </td>
                        <td valign="top" colspan="3">
                            <asp:CheckBoxList ID="chklstMeetingReq" runat="server" Height="30px" RepeatColumns="3">
                                <asp:ListItem>Flip</asp:ListItem>
                                <asp:ListItem>Network Connectors</asp:ListItem>
                                <asp:ListItem>Whiteboard</asp:ListItem>
                                <asp:ListItem>Projector/Screen</asp:ListItem>
                                <asp:ListItem>Conference Telephone</asp:ListItem>
                            </asp:CheckBoxList>
                        </td>
                    </tr>
                    <tr style="padding-top: 5px; padding-left: 5px;">
                        <td valign="top">
                            <asp:Label ID="lblCountry7" runat="server" Text="Catering Requirements"></asp:Label>
                        </td>
                        <td colspan="3" valign="top">
                            <asp:TextBox ID="txtCateringReq" runat="server" Height="45px" onblur="truncMaxLength(this,'1500');"
                                onkeypress="return truncMaxLength(this,'1500');" TextMode="MultiLine" Width="50%"></asp:TextBox>
                        </td>
                    </tr>
                    <tr style="padding-top: 5px; padding-left: 5px;">
                        <td valign="top">
                            <asp:Label ID="lblCountry6" runat="server" Text="Is the client a priority client"></asp:Label>
                        </td>
                        <td valign="top" colspan="3">
                            <asp:RadioButtonList ID="rblPriorityClient" runat="server" RepeatDirection="Horizontal">
                                <asp:ListItem Value="1">Yes</asp:ListItem>
                                <asp:ListItem Value="0" Selected="True">No</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr style="padding-top: 5px; padding-left: 5px;">
                        <td valign="top">
                            <asp:Label ID="Label1" runat="server" Text="Requirement of Translators"></asp:Label>
                        </td>
                        <td valign="top" colspan="3">
                            <asp:RadioButtonList ID="rblTranslators" runat="server" RepeatDirection="Horizontal">
                                <asp:ListItem Value="1">Yes</asp:ListItem>
                                <asp:ListItem Value="0" Selected="True">No</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr style="padding-top: 5px; padding-left: 5px;">
                        <td valign="top">
                            <asp:Label ID="lblCountry4" runat="server" Text="Which country partners does the client wish to meet during the event"></asp:Label>
                        </td>
                        <td align="left" colspan="3" valign="middle">
                            <table id="tblCountryRepresent" cellpadding="0" cellspacing="0">
                                <tr style="height: 10px;">
                                    <td>
                                    </td>
                                </tr>
                                <tr>
                                    <td rowspan="4" valign="top">
                                        <asp:ListBox ID="lstCountry" runat="server" DataTextField="Name" DataValueField="Value"
                                            Height="125px" SelectionMode="multiple" Width="180px"></asp:ListBox>
                                    </td>
                                    <td align="center" style="padding-right: 5px; padding-left: 5px;">
                                        <asp:Button ID="btnAllRight" runat="server" CssClass="Button" OnClick="btnAllRight_Click"
                                            Style="font-weight: bold; width: 25px;" Text="&gt;&gt;" />
                                    </td>
                                    <td rowspan="4" valign="top">
                                        <asp:ListBox ID="lstCountryRepresent" runat="server" Height="125px" SelectionMode="Multiple"
                                            Width="180px"></asp:ListBox>
                                        <asp:RequiredFieldValidator ID="rqdCountryRepresent" runat="server" ControlToValidate="lstCountryRepresent"
                                            ErrorMessage="Enter representing country(s)" Text="*" ValidationGroup="attendeeSave"></asp:RequiredFieldValidator>
                                    </td>
                                    <td rowspan="4" style="padding-left: 5px;">
                                        &nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" style="padding-right: 5px; padding-left: 5px">
                                        <asp:Button ID="btnRight" runat="server" CssClass="Button" OnClick="btnRight_Click"
                                            Style="font-weight: bold; width: 25px;" Text="&gt;" />
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" style="padding-right: 5px; padding-left: 5px">
                                        <asp:Button ID="btnLeft" runat="server" CssClass="Button" OnClick="btnLeft_Click"
                                            Style="font-weight: bold; width: 25px;" Text="&lt;" />
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" style="padding-right: 5px; padding-left: 5px">
                                        <asp:Button ID="btnAllLeft" runat="server" CssClass="Button" OnClick="btnAllLeft_Click"
                                            Style="font-weight: bold; width: 25px;" Text="&lt;&lt;" />
                                    </td>
                                </tr>
                                <tr>
                                    <td align="left" colspan="4" style="padding-right: 5px; padding-left: 5px">
                                        <asp:Label ID="lblCountryRepeseErrorMessage" runat="server" ForeColor="Red" Text=""></asp:Label>
                                    </td>
                                </tr>
                            </table>
                            &nbsp;
                        </td>
                    </tr>
                    <tr style="padding-top: 5px; padding-left: 5px;">
                        <td valign="top">
                            <asp:Label ID="lblCountry5" runat="server" Text="Specific issues/technical issues identified by client for discussion"></asp:Label>
                            <br />
                        </td>
                        <td valign="top" colspan="3">
                            <asp:TextBox ID="txtSpecificIssues" runat="server" Height="45px" onblur="truncMaxLength(this,'1500');"
                                onkeypress="return truncMaxLength(this,'1500');" TextMode="MultiLine" Width="50%"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4" valign="top" style="padding-top: 5px; padding-bottom: 5px; padding-left: 5px;">
                            <input id="hdnAllCleasred" runat="server" type="hidden" />
                            <asp:Button ID="btnRegister" runat="server" Text="Save Registration Form" Width="150px"
                                CssClass="Button" ToolTip="Click here to register" OnClick="btnRegister_Click"
                                ValidationGroup="Register" />
                            <asp:Button ID="btnClearAll" runat="server" Text="Clear All" Width="90px" CssClass="Button"
                                ToolTip="Click here to clear all the entered fields." OnClick="btnClearAll_Click" />
                        </td>
                    </tr>
                </table>
                </td> </tr> </table>
            </ContentTemplate>
            <Triggers>
                <asp:PostBackTrigger ControlID="btnExportExcel" />
            </Triggers>
        </asp:UpdatePanel>
    </div>
    <script type="text/javascript" language="javascript">

        // Function to validate the max length of multiline textbox.
        function truncMaxLength(txtControl, maxLength) {
            try {
                if (txtControl.value.length > maxLength) {
                    txtControl.value = txtControl.value.substring(0, maxLength);
                    alert("Maximum charactors allowed is - " + maxLength.toString());
                    return false;
                }
            }
            catch (e) {
            }
        }

    </script>
    </form>
</body>
</html>
